package com.qfedu.yanglao20.entity.companion;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel("陪护员实体类")
public class Companion {

    @ApiModelProperty("陪护员id")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("姓名")
    private String companionName;
    @ApiModelProperty("电话")
    private String phone;
    @ApiModelProperty("区域")
    private String region;
    @ApiModelProperty("回访率")
    private double returns;
    @ApiModelProperty("满意度")
    private double satisfaction;
    @ApiModelProperty("订单数")
    private Integer orders;
    @ApiModelProperty("收款人")
    private String collection;
    @ApiModelProperty("开户行")
    private String bank;
    @ApiModelProperty("卡号")
    private String cordId;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("状态 1启用0禁用")
    private Integer info;
    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;


}
